package com.hs.excel.demos.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RequestParm {
    private String filename;
    private String tableName;
    private List<String>  terms;
    /**
     *  true为多个insert false为单个
     */
    private Boolean insertFlag;

    private String dbType;

    public RequestParm(String tableName) {
        this.tableName = tableName;
    }

    public RequestParm(String tableName, Boolean insertFlag) {
        this.tableName = tableName;
        this.insertFlag = insertFlag;
    }
    public RequestParm(String tableName, Boolean insertFlag,String dbType) {
        this.tableName = tableName;
        this.insertFlag = insertFlag;
        this.dbType = dbType;
    }
}
